package com.jy.adscm.dealer.service;

import com.jy.adscm.dealer.bean.DealerAttachment;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.dealer.bean.DealerMembers;
import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.security.utils.Token;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyl
 * @since 2019-01-16
 */
public interface DealerAttachmentService extends IService<DealerAttachment> {

    boolean insertDealerAttachment( HttpServletRequest request) throws AdscmSystemException;


    List<DealerAttachment> deleteDealerMembers(Integer id, Token token);

    List<DealerAttachment> selectByDid(Integer did)throws AdscmSystemException;
}
